class Icon {
    constructor(textColor) {
        this.textColor = textColor;
        this.init();
    }
    init() {
        let element = document.createElement('i')
        element.className = 'iconfont icon-jiazai loadingIcon';
        element.style.color = this.textColor;
        this.element = element;
    }
    getElement() {
        return this.element;
    }
}
export default Icon